﻿<Window x:Class="Wpfконфигуратор.ВыборСборки"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Выбор Загруженной Сборки"  ShowInTaskbar="False" SizeToContent="WidthAndHeight">
    <DockPanel >
        <StackPanel DockPanel.Dock="Top" Orientation="Horizontal" HorizontalAlignment="Right" Height="40">
            <Button  Name="КнопкаВыбора" Content="Выбрать" VerticalAlignment="Center" Margin="10,0" Padding="4" ToolTip="Выбрать сборку" 
                    IsDefault="True" Click="Button_Click"></Button>
            <!--<Button  Name="кнопкаОтмены" Content="Отменить" VerticalAlignment="Center" Margin="10,0"
                    IsCancel="True" Padding="0,4" Click="кнопкаОтмены_Click">
                <Button.ToolTip>
                    Отменить выбор
                </Button.ToolTip>
            </Button>-->
        </StackPanel>

        
          
            <DataGrid AutoGenerateColumns="False" Name="dataGrid1" IsReadOnly="True" 
                   HorizontalGridLinesBrush="#FFF0F0F0" VerticalGridLinesBrush="#FFF0F0F0" RowHeaderWidth="20" 
                                      AlternatingRowBackground="AliceBlue" AlternationCount="2"  CanUserResizeRows="False" 
                                      CanUserAddRows="False"
                                    Margin="1"
                                      SelectionMode="Single" MouseDoubleClick=" Button_Click">
                <DataGrid.Columns>
                    <DataGridTextColumn Header="Имя" Binding="{Binding Path= Имя}"  />
                    <DataGridTextColumn Header="Версия" Binding="{Binding Path=Версия}"  />
                    <DataGridTextColumn Header="Культура" Binding="{Binding Path=Культура}" />
                    <DataGridTextColumn Header="Токен"  Binding="{Binding Path=Токен}"/>
                </DataGrid.Columns>
            </DataGrid>
          


    </DockPanel>
  
</Window>
